package com.studyadmin.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.studyadmin.dto.ArticleInsertBO;
import com.studyadmin.entity.Category;
import com.studyadmin.entity.PersonArticle;
import com.baomidou.mybatisplus.extension.service.IService;
import com.studyadmin.entity.Student;
import com.studyadmin.util.JsonUtil;

/**
 * <p>
 * 文章管理表 服务类
 * </p>
 *
 * @author lyl
 * @since 2023-03-27
 */
public interface PersonArticleService extends IService<PersonArticle> {
    JsonUtil getCategoriesByName(String categoryName);
    JsonUtil insertOrUpdateArticle(ArticleInsertBO bo);
    JsonUtil articleDetailsByStuSer(String stuNum,String articleId);

    IPage pageForArt(IPage<PersonArticle> page, Wrapper wrapper);
}
